//
//  YTExchangeGoodsCell.m
//  yitaicaijing
//
//  Created by DIANGHONG on 2018/9/11.
//  Copyright © 2018年 DIANGHONG. All rights reserved.
//

#import "YTExchangeGoodsCell.h"
@interface YTExchangeGoodsCell ()
@property (weak, nonatomic) IBOutlet UIImageView *logoImageView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *exchangeNum;

@end
@implementation YTExchangeGoodsCell


- (void)setModel:(YTGoodsModel *)model
{
    _model = model;
    
    [self.logoImageView sd_setImageWithURL:[NSURL URLWithString:model.logo]];
    self.nameLabel.text = model.name;
    self.exchangeNum.text = model.times;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}



@end
